package com.shu.qq.component.tcp.handler;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * 自定义Tcp协议
 */
public class ProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {
    public ProtocolFrameDecoder(){
        this(Integer.MAX_VALUE ,0,4,0,4);
    }
    public ProtocolFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
